<template>
    <div class="img-box">
        <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
  <van-swipe-item><img src="@/assets/banner.jpg" alt=""></van-swipe-item>
  <van-swipe-item><img src="@/assets/banner1.jpg" alt=""></van-swipe-item>
  <van-swipe-item><img src="@/assets/banner2.jpg" alt=""></van-swipe-item>
  <van-swipe-item><img src="@/assets/banner3.jpg" alt=""></van-swipe-item>
</van-swipe>
    </div>
</template>
<style lang="scss" scoped>
.img-box{
    width: 100%;
    height: 150px;
    overflow: hidden;
    img{
        width: 100%;
        height: 100%;
    }
}
</style>
